package com.ls.lserp.modules.order.dao;



import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.material.entity.SlopworkInbound;
import com.ls.lserp.modules.order.entity.AuditInfo;
import com.ls.lserp.modules.order.entity.BigcargoOrder;
import com.ls.lserp.modules.order.entity.SizeColorQuantity;
import com.ls.lserp.modules.order.entity.StyleFit;
@MyBatisDao
public interface BigcargoOrderDao extends CrudDao<BigcargoOrder>{

	public List<BigcargoOrder> findCustomerList();

	public List<BigcargoOrder> findOrderList(long id);

	public List<BigcargoOrder> findStyleSize(long id);
	
	public List<StyleFit> findStyleFit(long id);

	public List<BigcargoOrder> findStyleFileList(long id);

	public BigcargoOrder getStyle(BigcargoOrder bigcargoOrder);
	
	public BigcargoOrder getContractAmount(BigcargoOrder bigcargoOrder);

	public int insertOrder(BigcargoOrder bigcargoOrder);
	
	public int updateOrder(BigcargoOrder bigcargoOrder);

	public int insertSize(SizeColorQuantity sizeColorQuantity);

	public int insertContractStyle(BigcargoOrder bigcargoOrder);

	public int insertContractCustomer(BigcargoOrder bigcargoOrder);

	public String  getShortName(long id);

	public int deleteSize(long id);

	public int deleteContractCustomer(long id);

	public int deleteContractStyle(long id);

	public List<SizeColorQuantity> findIndentSize(long id);

	public int updateStatus(AuditInfo auditInfo);

	public int insertFile(BigcargoOrder bigcargoOrder);

	public int deleteFile(BigcargoOrder bigcargoOrder);

	public int insertContractFile(BigcargoOrder bigcargoOrder);

	public int deleteContractFile(BigcargoOrder bigcargoOrder);
	// 获取大货订单完成进度和生产状态信息
	public BigcargoOrder getProStatusInfo(SlopworkInbound slopworkInbound);
	// 更新大货订单生产状态
	public int updateProduceStatus(BigcargoOrder bigcargoOrder);
}
